<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      document.write(`数组中的最大值为：${Math.max(11, 39, 24, 45, 12, 1)}<br>`)
      document.write(`数组中的最小值为：${Math.min(11, 39, 24, 45, 12, 1)}<br>`)
    </script>
  </body>
</html>
